package pl.sar.auth.gui;

import org.apache.log4j.Logger;

/**
 * Timeout exception - occures when server is unreachable.
 * 
 * @see add further links
 *
 * @author created: mkozaczyk on 12-04-2012 14:21:30
 * @author last change: $Author: $ on $Date: $
 * @version $Revision: $
 */
public class TimeoutException extends Exception
{
    private static final long serialVersionUID = -6860042710014128035L;

    private static Logger logger = Logger.getLogger( TimeoutException.class );
    
    /**
     * Constructor of TimeoutException.
     * @param timeout Time after which the exception occured.
     */
    public TimeoutException(int timeout)
    {
        logger.error( "Cannot connect to the remote server. [timeout = " + timeout + "]" );
    }
}
